package testGroovy

/**
 * @author houjinxin
 * 检验基本数据类型的对象类型
 */
def a = 0.0 
assert a instanceof BigDecimal

def b = 1
assert b instanceof Integer

def c = 1.1 as double
println c.class

